import React, {Component} from 'react';
import {View, Text, Button} from 'react-native';
import {connect} from 'react-redux';
import NavUtils from '../../utils/NavUtils';

@connect(({  }) => ({

}), dispatch => ({

}))
class Details extends Component{
    render() {
        const {
            navigation
        } = this.props;
        return (
            <View>
                <Text>Details</Text>
                <View style={{margin: 10, width: '70%'}}>
                    <Button title='跳转Home' onPress={() => NavUtils.go('Find')}/>
                </View>

            </View>
        )
    }
}

export default Details;
